package com.hmys.api.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Builder;
import lombok.Data;

@Data
public class WebExchangeRate {
    private Long id;

    private Long currencyId;

    private String currencyName;

    private Double buyingRate;

    private Double cashBuyingRate;

    private Double exchBid;

    private Double cashBid;

    private Double safeIntermediate;

    private Double boeConversionRate;

    private Double exchangeRate;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date releaseTime;

    @JsonIgnore
    private Date createTime;

    @JsonIgnore
    private Date updateTime;

    @JsonIgnore
    private Boolean status;
}